{php $no_left =true;}

{template '_header'}
{template 'platform/manage/tabs'}
<div class="page-header">
    当前位置：<span class="text-primary">{if !empty($platform['id'])}({$platform['name']}){/if}平台设置</span>
</div>

<div class="page-content">
    <div class="page-sub-toolbar">
        <span class=''>
            {ifp 'platform.main'}
                <a class="btn btn-primary btn-sm" href="{php echo webUrl('platform')}">返回列表</a>
            {/if}
        </span>
    </div>
<form id="setform"  {ifp 'platform.edit'}action="" method="post"{/if} class="form-horizontal form-validate">

<input type="hidden" name="id" value="{$id}" />

        <div class="form-group">
            <label class="col-sm-2 control-label">排序</label>
            <div class="col-sm-8">
                {ifp 'platform.edit'}
                <input type="text" class="form-control" name="displayorder" value="{$item['displayorder']}" data-rule-required="true"/>
                {else}
                <div class="form-control-static">
                    {$item['displayorder']}
                </div>
                {/if}
            </div>
        </div>

{ifp 'platform.edit'}
<div class="form-group">
    <label class="col-sm-2 control-label"></label>
    <div class="col-sm-9 col-xs-12">
        <input type="submit"  value="提交" class="btn btn-primary" />
    </div>
</div>
{/if}

</form>
</div>

{template '_footer'}